projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c19947
)
range: remove unused code
author
Cosimo Cecchi
<cosimoc@gnome.org>
Sun, 17 Jan 2016 19:27:03 +0000
(17:27 -0200)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Mon, 29 Feb 2016 18:45:12 +0000
(10:45 -0800)
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index 66b0b15d2250bf597344de7dacdb15fd62b6d0b3..aa102b2c21afc4df839c8a45814005f935586d58 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-2310,7
+2310,6
@@
coord_to_value (GtkRange *range,
gint trough_length;
gint trough_start;
gint slider_length;
- gint trough_border;
if (priv->orientation == GTK_ORIENTATION_VERTICAL)
{
@@
-2325,8
+2324,6
@@
coord_to_value (GtkRange *range,
slider_length = priv->slider.width;
}
- gtk_range_get_props (range, NULL, NULL, &trough_border, NULL);
-
if (trough_length == slider_length)
frac = 1.0;
else